<%@ include file="database_ini.jsp"%>


<%
	boolean error = false;

	String DROPID = request.getParameter("DROPID");
	String Loc = request.getParameter("Loc");
	String Sku = request.getParameter("Sku");
	String Lottable05 = request.getParameter("Lottable05");
	String Qty = request.getParameter("Qty");

	request.setAttribute("DROPID", DROPID);
	response.sendRedirect("index.jsp");
	/*********debug*/
	System.out.println("DROPID: " + DROPID);
	System.out.println("Loc: " + Loc);
	System.out.println("Sku: " + Sku);
	System.out.println("Lottable05: " + Lottable05);
	System.out.println("Qty: " + Qty);
	/**********/

	Statement st = null;

	st = conn.createStatement();
	st.executeUpdate("insert into CCDET (CCDROPID, Loc, Sku, Lottable05, Qty) VALUES ( '" + DROPID + "', '" +Loc + "', '"
	+ Sku + "' ,  '" + Lottable05 + "' ,  '" + Qty + "')");

	conn.close();
%>